package com.galaxy.device.domain.convert;

import com.galaxy.device.domain.DeviceStock;
import com.galaxy.device.domain.bo.DeviceStockBo;
import com.galaxy.device.domain.vo.DeviceStockVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 设备库存对象转换器
 */
@Mapper
public interface DeviceStockConvert {

    DeviceStockConvert INSTANCE = Mappers.getMapper(DeviceStockConvert.class);

    DeviceStock convert(DeviceStockBo bo);

    DeviceStockVo convert(DeviceStock bean);

    DeviceStockBo convert(DeviceStockVo vo);
} 